<?php

class Model_Manager extends PhalApi_Model_NotORM {


     public function login($username,$password) {
        return DI()->notorm->Manager
            ->select('*')
            ->where(array("username" => $username, "password" => $password))
            ->fetch();
    }

    protected function getTableName($id) {
        return 'Manager';
    }
    protected function getTableKey($table) {
        return 'Mid';
    }
}
